package com.fy.spring.service.impl;

import com.fy.spring.feign.PaymentFeignClient;
import com.fy.spring.service.PaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaymentServiceImpl implements PaymentService {

    @Autowired
    private PaymentFeignClient paymentFeignClient;

    @Override
    public String lb() {
        return paymentFeignClient.lb();
    }


    @Override
    public String timeout(int second) {
        return paymentFeignClient.timeout(second);
    }

    @Override
    public String makeException() {
        return paymentFeignClient.makeException();
    }
}
